Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hash to point from RFC9380 #510

Merged
merged 44 commits into from
Jun 13, 2024
Merged

Add hash to point from RFC9380 #510

merged 44 commits into from
Jun 13, 2024

Conversation

K1li4nL
Copy link
Contributor

@K1li4nL K1li4nL commented Apr 21, 2024

Add Hash() on Ed25519

@K1li4nL K1li4nL marked this pull request as ready for review April 21, 2024 17:16
@K1li4nL K1li4nL force-pushed the kilian-add-hash-to-ed branch from fc565eb to c04199d Compare April 30, 2024 08:53
@K1li4nL K1li4nL changed the base branch from master to drandmerge April 30, 2024 08:53
Copy link
Contributor

@AnomalRoil AnomalRoil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, add better comments to refer to which part of the RFC you've implemented, that will make review easier.

return dst, nil
}

func curve25519Elligator2(u fieldElement) (xn, xd, yn, yd fieldElement) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't this also be used for Curve25519? Why put it in Edwards25519?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it can, though our Curve25519 doesn't use fieldElement but only big.Int, it would make sense to put it there but it would be of no use unfortunately.

@K1li4nL K1li4nL force-pushed the kilian-add-hash-to-ed branch from 49ec0f3 to 3275d0b Compare May 8, 2024 16:44
@K1li4nL K1li4nL changed the base branch from drandmerge to Fix-DKG May 8, 2024 16:44
Base automatically changed from Fix-DKG to drandmerge May 10, 2024 09:20
@K1li4nL K1li4nL force-pushed the kilian-add-hash-to-ed branch from 3275d0b to 45763cc Compare May 10, 2024 12:00
@K1li4nL K1li4nL self-assigned this May 23, 2024
@K1li4nL K1li4nL force-pushed the kilian-add-hash-to-ed branch from 9b8b1a8 to 8b5d5fe Compare June 6, 2024 08:06
Copy link

sonarqubecloud bot commented Jun 6, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
22.1% Duplication on New Code (required ≤ 10%)

See analysis details on SonarCloud

@K1li4nL K1li4nL force-pushed the kilian-add-hash-to-ed branch from c17b790 to a607602 Compare June 12, 2024 11:02
Copy link

@azixus azixus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just have one comment on expandMessageXOF, the rest looks good to me :)

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
21.3% Duplication on New Code (required ≤ 10%)

See analysis details on SonarCloud

@K1li4nL K1li4nL requested review from AnomalRoil and azixus June 12, 2024 14:30
Copy link

@azixus azixus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks all good to me now, thank you for the work!

@AnomalRoil AnomalRoil merged commit 4485f5d into drandmerge Jun 13, 2024
11 checks passed
@AnomalRoil AnomalRoil deleted the kilian-add-hash-to-ed branch June 13, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants